package com.ksfzhaohui.nio.buffer;

import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.CharBuffer;

public class ByteOrderTest {

	public static void main(String[] args) {
		System.out.println(ByteOrder.nativeOrder());
		
		ByteBuffer buff=ByteBuffer.allocate(100);
		System.out.println(buff.order());
		
		CharBuffer charBuff=CharBuffer.allocate(100);
		System.out.println(charBuff.order());
	}
}
